package com.example.sens.mapper;

import com.example.sens.entity.QuizQuestion;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QuizQuestionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(QuizQuestion record);

    int insertSelective(QuizQuestion record);

    QuizQuestion selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(QuizQuestion record);

    int updateByPrimaryKey(QuizQuestion record);

    int insertByList(@Param("list") List<QuizQuestion> list);
}